<ion-view title="提现">
  <ion-nav-buttons>
    <a class="button button-icon icon ion-ios-arrow-left" ng-click="goBackPage()"></a>
  </ion-nav-buttons>
  <ion-content class="getmoney">
    <div class="list">
      <div class="item item-input">
        <span class="input-label">账户余额</span>
        <input type="text" class="priceinput" placeholder="{{moneyData.money | to_pricedouble}}元" disabled>
      </div>
      <div class="item item-input">
        <span class="input-label">提现金额</span>
        <input type="number"  ng-model="getCashData.money" placeholder="请输入提现金额">
      </div>
      <div class="item ugm_payway_t" style="margin-top:20px;">
        提现方式
      </div>
      <div class="item ugm_payway item-avatar-left item-icon-right" ng-click="getmoneyway(1)">
        <!-- <i class="icon ion-android-radio-button-off"></i> -->
        <img src="img/other/wechat.png" alt=""><span>微信</span>
        <i class="icon ion-android-radio-button-{{getCashData.type==1?'on':'off'}}"></i>
      </div>
      <div class="item ugm_payway item-avatar-left item-icon-right" ng-click="getmoneyway(2)">
        <img src="img/other/alipay.png" alt=""><span>支付宝</span>
        <i class="icon ion-android-radio-button-{{getCashData.type==2?'on':'off'}}"></i>
      </div>
      <div class="item ugm_payway item-avatar-left item-icon-right" ng-click="getmoneyway(3)">
        <img src="img/other/yhk.png" alt=""><span>银行卡</span>
        <i class="icon ion-android-radio-button-{{getCashData.type==3?'on':'off'}}"></i>
      </div>
      <!-- {{getmoneycurway | json}} -->
    </div>
    <div class="item ugm_payway_t">
      充值账号信息<span style="font-size: 13px;color:#888;">(7个工作日内)</span>
    </div>
    <div class="list">
      <div class="item item-input" ng-show="getCashData.type==1">
        <span class="input-label">微信账号</span>
        <input type="text" ng-model="getCashMsg.wxaccout" placeholder="请输入支付宝账号">
      </div>
      <div class="item item-input" ng-show="getCashData.type==2">
        <span class="input-label">支付宝账号</span>
        <input type="text" ng-model="getCashMsg.zfbaccout" placeholder="请输入支付宝账号">
      </div>
      <div class="item item-input" ng-show="getCashData.type==3">
        <span class="input-label">开户行</span>
        <input type="text" ng-model="getCashMsg.yhkkhh" placeholder="请输入开户行">
      </div>
      <div class="item item-input" ng-show="getCashData.type==3">
        <span class="input-label">卡号</span>
        <input type="text" ng-model="getCashMsg.yhkno" placeholder="请输入卡号">
      </div>
      <div class="item item-input" ng-show="getCashData.type==3">
        <span class="input-label">持卡人</span>
        <input type="text" ng-model="getCashMsg.yhkname" placeholder="请输入持卡人">
      </div>
    </div>
    <div class="ugm_sub padding">
      <button class="button button-calm button-full" ng-click="getCash_sub()">确认提现</button>
    </div>
  </ion-content>
  <script id="getmoneyform.html" type="text/ng-template">
    <div class="modal">
      <ion-header-bar>
        <h1 class="title">信息完善</h1>
        <button ng-click="closeModal()" class="button button-icon icon ion-ios-close-empty"></button>
      </ion-header-bar>
      <ion-content style="background:#fff">
        <div class="list">
          <div class="item item-divider">支付宝信息</div>
          <div class="item item-input">
            <span class="input-label">账号</span>
            <input type="text" placeholder="请输入提现金额">
          </div>
        </div>
        <div class="ugm_sub padding">
          <button class="button button-calm button-full" ng-click="ugm_msg_sub()">确认信息</button>
        </div>
      </ion-content>
    </div>
  </script>
</ion-view>
